<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>侧边栏-UMS</title>
</head>
<body>

<th:block th:fragment="sidebar"
          th:with="umsURL = ${session.UMS.value},erpURL = ${session.ERP.value},engineerURL = ${session.ENGINEER.value},dmsURL = ${session.DMS.value},accountURL = ${session.ACCOUNT.value},perfURL = ${session.PERFORMANCE!=null?session.PERFORMANCE.value:session.PERF.value},gmsURL = ${session.GMS.value}">
    <!-- 用户管理UMS -->
    <li data-name="ums-menu" class="layui-nav-item">
        <div class="system">用户管理UMS</div>
        <!-- 工程师管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="mast-menu"
                th:if="${#authPermit.checkMenuPermits(false,'/base/contractor/master/list.action','/crm/user/*.action', '/bonus/*.action','/engineer/management.action','/capital/account/*.action','/capital/account/menu/*.action')}">
                <a href="javascript:;" lay-direction="2" th:if="${#authPermit.checkMenuPermit('/engineer/management.action')}">
                    <i class="layui-icon layui-icon-user"></i>
                    <cite>工程师管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/zmn/engineer/listByPlat.action')}">
                        <a href="javascript:;">啄木鸟工程师</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/supervisor/listByPlat.action?plat=10')}">
                                <a th:lay-href="|${engineerURL}/supervisor/listByPlat.action?plat=10|">工程师主管</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/listByPlat.action?plat=10')}">
                                <!--                                <a th:lay-href="|http://local-engineer.xiujiadian.com:11513/engineer/listByPlat.action?plat=2|">工程师管理</a>-->
                                <a th:lay-href="|${engineerURL}/engineer/listByPlat.action?plat=10|">工程师管理</a>
                            </dd>

                            <!--                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/mast/apply/list.action')}">-->
                            <!--                                <a lay-href="/mast/apply/list.action">工程师招募</a>-->
                            <!--                            </dd>-->
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/apply/list.action?plat=10')}">
                                <!--                                <a th:lay-href="|http://local-engineer.xiujiadian.com:11513/engineer/apply/list.action?plat=2|">工程师招募</a>-->
                                <a th:lay-href="|${engineerURL}/engineer/apply/list.action?plat=10|">工程师招募</a>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/apply/engineerApplyInvitation.action?plat=10')}">
                                <a th:lay-href="|${engineerURL}/engineer/apply/engineerApplyInvitation.action?plat=10|">工程师邀请</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/schedule/list.action?plat=10')}">
                                <a th:lay-href="|${engineerURL}/engineer/schedule/list.action?plat=10|">工程师排班</a>
                            </dd>

                            <!--                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/mast/leave/list.action')}">-->
                            <!--                                <a lay-href="/mast/leave/list.action">请假列表</a>-->
                            <!--                            </dd>-->
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/leave/listByPlat.action?plat=10')}">
                                <!--                                <a th:lay-href="|http://local-engineer.xiujiadian.com:11513/engineer/leave/listByPlat.action?plat=2|">请假列表</a>-->
                                <a th:lay-href="|${engineerURL}/engineer/leave/listByPlat.action?plat=10|">请假列表</a>
                            </dd>

                            <!--                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/mast/onlineLog/list.action')}">-->
                            <!--                                <a lay-href="/mast/onlineLog/list.action">APP在线</a>-->
                            <!--                            </dd>-->
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermits(false, '/engineer/onlinelog/list.action','/engineer/onlinelog/list.action?plat=10')}">
                                <!--                                <a th:lay-href="|http://local-engineer.xiujiadian.com:11513/engineer/onlinelog/list.action|">APP在线</a>-->
                                <a th:lay-href="|${engineerURL}/engineer/onlinelog/list.action|">APP在线</a>
                            </dd>
                            <!--                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/mast/contract/list.action')}">-->
                            <!--                                <a lay-href="/mast/contract/list.action">工程师合同</a>-->
                            <!--                            </dd>-->
                            <!--工程师目前全为按单保险，该功能不在提供 wnagjie 2020-07-10 -->
                            <!--                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/mast/insurance/list.action')}">-->
                            <!--                                <a lay-href="/mast/insurance/list.action">普通保险</a>-->
                            <!--                            </dd>-->
                            <!--                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/mast/mast_ins_order/list.action')}">-->
                            <!--                                <a lay-href="/mast/mast_ins_order/list.action?platType=2">按单保险</a>-->
                            <!--                            </dd>-->
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/ins_order/listInsOrderByPlat.action?plat=10')}">
                                <a th:lay-href="|${engineerURL}/engineer/ins_order/listInsOrderByPlat.action?plat=10|">当日按单保险</a>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/ins_order/listInsOrderHisByPlat.action?plat=10')}">
                                <a th:lay-href="|${engineerURL}/engineer/ins_order/listInsOrderHisByPlat.action?plat=10|">历史按单保险</a>
                            </dd>

                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermits(false,'/mast/master/mapList.action','/engineer/loction/map.action')}">
                                <a th:lay-href="|${engineerURL}/engineer/mapList.action|">位置查询</a>
                            </dd>

                        </dl>
                    </dd>
                    <!--                    <dd data-name="button"-->
                    <!--                        th:if="${#authPermit.checkMenuPermits(false,'/base/contractor/master/list.action')}">-->
                    <!--                        <a href="javascript:;">承包商工程师</a>-->
                    <!--                        <dl class="layui-nav-child">-->
                    <!--                            <dd data-name="list"-->
                    <!--                                th:if="${#authPermit.checkMenuPermit('/base/contractor/master/list.action')}">-->
                    <!--                                <a th:lay-href="|/base/contractor/master/list.action|">工程师管理</a>-->
                    <!--                            </dd>-->
                    <!--                        </dl>-->
                    <!--                    </dd>-->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/yeyx/engineer/listByPlat.action')}">
                        <a href="javascript:;">言而有信工程师</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/supervisor/listByPlat.action?plat=20')}">
                                <a th:lay-href="|${engineerURL}/supervisor/listByPlat.action?plat=20|">工程师主管</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/listByPlat.action?plat=20')}">
                                <a th:lay-href="|${engineerURL}/engineer/listByPlat.action?plat=20|">工程师管理</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/apply/list.action?plat=20')}">
                                <a th:lay-href="|${engineerURL}/engineer/apply/list.action?plat=20|">工程师招募</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/leave/listByPlat.action?plat=20')}">
                                <a th:lay-href="|${engineerURL}/engineer/leave/listByPlat.action?plat=20|">请假列表</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/ins_order/listInsOrderByPlat.action?plat=20')}">
                                <a th:lay-href="|${engineerURL}/engineer/ins_order/listInsOrderByPlat.action?plat=20|">当日按单保险</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/ins_order/listInsOrderHisByPlat.action?plat=20')}">
                                <a th:lay-href="|${engineerURL}/engineer/ins_order/listInsOrderHisByPlat.action?plat=20|">历史按单保险</a>
                            </dd>
                        </dl>
                    </dd>
                    <!-- 一步维修工程师 -->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/saas/engineer/listByPlat.action')}">
                        <a href="javascript:;">一步维修工程师</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/supervisor/listByPlat.action?plat=30')}">
                                <a th:lay-href="|${engineerURL}/supervisor/listByPlat.action?plat=30|">工程师主管</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/listByPlat.action?plat=30')}"><a
                                    th:lay-href="|${engineerURL}/engineer/listByPlat.action?plat=30|">工程师管理</a></dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/apply/list.action?plat=30')}">
                                <a th:lay-href="|${engineerURL}/engineer/apply/list.action?plat=30|">工程师招募</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/leave/listByPlat.action?plat=30')}">
                                <a th:lay-href="|${engineerURL}/engineer/leave/listByPlat.action?plat=30|">请假列表</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/ins_order/listInsOrderByPlat.action?plat=30')}">
                                <a th:lay-href="|${engineerURL}/engineer/ins_order/listInsOrderByPlat.action?plat=30|">当日按单保险</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/ins_order/listInsOrderHisByPlat.action?plat=30')}">
                                <a th:lay-href="|${engineerURL}/engineer/ins_order/listInsOrderHisByPlat.action?plat=30|">历史按单保险</a>
                            </dd>
                        </dl>
                    </dd>
                    <!-- 川南环保工程师 -->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/cnhb/engineer/listByPlat.action')}">
                        <a href="javascript:;">川南环保工程师</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/supervisor/listByPlat.action?plat=40')}">
                                <a th:lay-href="|${engineerURL}/supervisor/listByPlat.action?plat=40|">工程师主管</a>
                            </dd>
                            <!--                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/cnhb/master/list.action')}"><a-->
                            <!--                                    lay-href="/cnhb/master/list.action">工程师管理</a></dd>-->
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/listByPlat.action?plat=40')}">
                                <a th:lay-href="|${engineerURL}/engineer/listByPlat.action?plat=40|">工程师管理</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/apply/list.action?plat=40')}">
                                <a th:lay-href="|${engineerURL}/engineer/apply/list.action?plat=40|">工程师招募</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/leave/listByPlat.action?plat=40')}">
                                <a th:lay-href="|${engineerURL}/engineer/leave/listByPlat.action?plat=40|">请假列表</a>
                            </dd>
                            <!--                            <dd data-name="list"-->
                            <!--                                th:if="${#authPermit.checkMenuPermit('/mast/mast_ins_order/cnhb/list.action')}"><a-->
                            <!--                                    lay-href="/mast/mast_ins_order/cnhb/list.action?platType=4">工程师按单保险汇总</a></dd>-->
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/ins_order/listInsOrderByPlat.action?plat=40')}">
                                <a th:lay-href="|${engineerURL}/engineer/ins_order/listInsOrderByPlat.action?plat=40|">当日按单保险</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/ins_order/listInsOrderHisByPlat.action?plat=40')}">
                                <a th:lay-href="|${engineerURL}/engineer/ins_order/listInsOrderHisByPlat.action?plat=40|">历史按单保险</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/grid/editengineer/list.action')}">
                        <a th:lay-href="|${gmsURL}/grid/editengineer/list.action|">网格工程师</a>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/grid/engineerbingding/list.action')}">
                        <a th:lay-href="|${gmsURL}/grid/engineer/bind/map.action|">工程师网格</a>
                    </dd>

                    <dd data-name="button" >
                        <a href="javascript:;">工程师排班设置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/schedulerule/list.action?scheduleType=1')}">
                                <a th:lay-href="|${engineerURL}/engineer/schedulerule/list.action?scheduleType=1&plat=10|">平台排班</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/schedulerule/list.action?scheduleType=2')}">
                                <a th:lay-href="|${engineerURL}/engineer/schedulerule/list.action?scheduleType=2&plat=10|">城市排班</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/engineer/schedulerule/list.action?scheduleType=3')}">
                                <a th:lay-href="|${engineerURL}/engineer/schedulerule/list.action?scheduleType=3&plat=10|">服务商排班</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="mast-menu" th:if="${#authPermit.checkMenuPermit('/star/engineer/star.action?configType=1')}">
                        <a href="javascript:;">工程师星级</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/star/engineer/list.action?configType=1')}">
                                <a th:lay-href="|${engineerURL}/star/engineer/list.action?configType=1|">星级配置</a>
                            </dd>
                            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/ratio/engineer/scoreRatioList.action?bizType=')}">
                                <a th:lay-href="|${engineerURL}/ratio/engineer/scoreRatioList.action?bizType=|">系数配置</a>
                            </dd>
                            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/star/equities/list.action')}">
                                <a th:lay-href="|${engineerURL}/star/equities/list.action|">星级权益配置</a>
                            </dd>
                            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/star/engineer/engineerstar/list.action?engineerType=1')}">
                                <a th:lay-href="|${engineerURL}/star/engineer/engineerstar/list.action?engineerType=1|">星级查询</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="mast-menu" th:if="${#authPermit.checkMenuPermit('/star/engineer/star.action?configType=2')}">
                        <a href="javascript:;">主管星级</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/star/engineer/list.action?configType=2')}">
                                <a th:lay-href="|${engineerURL}/star/engineer/list.action?configType=2|">主管星级配置</a>
                            </dd>
                            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/star/engineer/engineerstar/list.action?engineerType=2')}">
                                <a th:lay-href="|${engineerURL}/star/engineer/engineerstar/list.action?engineerType=2|">主管星级查询</a>
                            </dd>
                        </dl>
                    </dd>

                    <!--                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/mast/changeLog/list.action')}">-->
                    <!--                        <a lay-href="/mast/changeLog/list.action">操作日志</a>-->
                    <!--                    </dd>-->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/engineer/changelog/list.action')}">
                        <!--                        <a th:lay-href="|http://local-engineer.xiujiadian.com:11513/engineer/changelog/list.action|">操作日志</a>-->
                        <a th:lay-href="|${engineerURL}/engineer/changelog/list.action|">操作日志</a>
                    </dd>
                    <!-- 垒多多 -->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/bonus/*.action')}">
                        <a href="javascript:;">垒多多</a>
                        <dl class="layui-nav-child">
                            <!--                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/bonus/list.action')}">-->
                            <!--                                <a th:lay-href="|${dmsURL}/bonus/list.action|">基础配置</a>-->
                            <!--                            </dd>-->
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/bonus/master/listPage.action')}">
                                <a th:lay-href="|${dmsURL}/bonus/master/listPage.action|">工单明细</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/bonus/statistics/listPage.action')}">
                                <a th:lay-href="|${dmsURL}/bonus/statistics/listPage.action|">报表统计</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/push/noticeApp/list.action')}">
                        <a lay-href="/push/noticeApp/list.action">APP公告管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- C端用户 -->
        <dl class="layui-nav-child show">
            <dd data-name="mast-menu" th:if="${#authPermit.checkMenuPermits(false, '/tag/*.action', '/user/info/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-friends"></i>
                    <cite>C端用户</cite>
                </a>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermits(false, '/tag/*.action')}">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false, '/tag/list.action')}">
                        <a title="标签管理" th:lay-href="|${umsURL}/tag/list.action|">标签管理</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermits(false, '/user/info/*.action')}">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false, '/user/info/list.action')}">
                        <a title="用户查询" th:lay-href="|${umsURL}/user/info/list.action|">用户查询</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- B端用户 -->
        <dl class="layui-nav-child show">
            <dd data-name="mast-menu"
                th:if="${#authPermit.checkMenuPermits(false, '/crm/user/2/*.action','/factory/*.action','/firm/sp/*.action','/part/*.action','/base/contractor/list.action','/mer/factory/*')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-friends"></i>
                    <cite>B端用户</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/user/channel/list.action')}">
                        <a th:lay-href="|${umsURL}/user/channel/list.action|">渠道客户管理</a>
                    </dd>
                    <dd data-name="button">
                        <a href="javascript:;" title="厂商管理" th:if="${#authPermit.checkMenuPermit('/mer/factory/*')}">厂商管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list">
                                <a th:lay-href="|${session.MER.value}/mer/factory/list.html|" title="厂商管理"
                                   th:if="${#authPermit.checkMenuPermit('/mer/sapi/factory/listPageByQuery')}">厂商管理</a>
                            </dd>
                            <dd data-name="list">
                                <a th:lay-href="|${session.MER.value}/mer/factory/apply/list.html|" title="厂商招募"
                                   th:if="${#authPermit.checkMenuPermit('/mer/sapi/factory/apply/listPageByQuery')}">厂商招募</a>
                            </dd>
                        </dl>
                    </dd>
                    <!--<dd data-name="button" th:if="${#authPermit.checkMenuPermit('/firm/sp/*.action')}">
                        <a lay-tips="服务公司管理（旧）" href="javascript:;">服务公司管理(旧)</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/firm/sp/list.action')}">
                                <a lay-href="/firm/sp/list.action">服务公司管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/firm/sp/apply/spApplyList.action')}">
                                <a lay-href="/firm/sp/apply/list.action">待审核服务商</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/firm/sp/apply/listRefuse.action')}">
                                <a lay-href="/firm/sp/apply/listRefuse.action" title="审核不通过服务商">审核不通过服务商</a>
                            </dd>
                        </dl>
                    </dd>-->

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/firm/sp/*.action')}">
                        <a  lay-tips="服务公司管理（新）" href="javascript:;">服务公司管理（新）</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/firm/sp/list.action')}">
                                <a lay-href="/sp/manage/list.html">服务公司管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/firm/sp/apply/spApplyList.action')}">
                                <a lay-href="/sp/apply/applying/list.html">服务商招募</a>
                            </dd>
                            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/grid/editsp/list.action')}">
                                <a th:lay-href="|${gmsURL}/grid/editsp/list.action|">服务商网格</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/user/customer/*.action')}">
                        <a href="javascript:;">企业客户管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/user/customer/listPage.action')}">
                                <a th:lay-href="|${umsURL}/user/customer/listPage.action|">企业用户管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/user/customer/ajax/apply/loadData.action')}">
                                <a th:lay-href="|${umsURL}/user/customer/listPageCustomerApply.action|">企业用户审核</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/base/contractor/list.action')}">
                        <a lay-href="/base/contractor/list.action">承包商管理</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/supplier/list.action')}">
                        <a lay-href="/supplier/list.action">配件供应商</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermit('/oplog/listPage.action')}">
            <dd data-name="mast-menu">
                <a th:lay-href="|${umsURL}/oplog/listPage.action|">
                    <i class="layui-icon layui-icon-reply-fill"></i>
                    <cite>用户行为日志</cite>
                </a>
            </dd>
        </dl>

        <!-- 资金账户管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="mast-menu"
                th:if="${#authPermit.checkMenuPermits(false, '/capital/account/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-friends"></i>
                    <cite>资金账户管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button">
                        <a th:if="${#authPermit.checkMenuPermit('/capital/account/menu/*.action')}">账户管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/deposit/account/manager/list')}">
                                <a lay-tips="质保金账户管理" th:lay-href="|${accountURL}/deposit/account/manager/list.action|">质保金账户管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/balance/account/manager/list')}">
                                <a lay-tips="余额账户管理" th:lay-href="|${accountURL}/balance/account/manager/list.action|">余额账户管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/credit/account/manager/list')}">
                                <a lay-tips="授信账户管理" th:lay-href="|${accountURL}/credit/account/manager/list.action|">授信账户管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/capital/account/cash/list.action')}">
                                <a lay-tips="提现管理" th:lay-href="|${accountURL}/account/cash/list.action|">提现管理</a>
                            </dd>
                            <!--<dd data-name="list"-->
                                <!--th:if="${#authPermit.checkMenuPermit('/deposit/report/manager/list')}">-->
                                <!--<a lay-tips="质保金数据报表(旧)" th:lay-href="|${accountURL}/deposit/report/manager/list.action|">质保金数据报表(旧)</a>-->
                            <!--</dd>-->
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/deposit/report/manager/list')}">
                                <a lay-tips="质保金数据报表" th:lay-href="|${perfURL}/deposit/report/manager/list.action|">质保金数据报表</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/deposit/detail/manager/list')}">
                                <a lay-tips="质保金明细表" th:lay-href="|${accountURL}/deposit/detail/manager/list.action|">质保金明细表</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button">
                        <a th:if="${#authPermit.checkMenuPermit('/account/order/list/*')}">交易服务流水</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/account/order/consume/listPage')}">
                                <a lay-tips="消费服务明细" th:lay-href="|${accountURL}/account/order/consume/list.action|">消费服务明细</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/account/order/cash/listPage')}">
                                <a lay-tips="提现服务明细" th:lay-href="|${accountURL}/account/order/cash/list.action|">提现服务明细</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/account/order/recharge/listPage')}">
                                <a lay-tips="充值服务明细" th:lay-href="|${accountURL}/account/order/recharge/list.action|">充值服务明细</a>
                            </dd>
                        </dl>
                    </dd>

                    <!--  资金账户审核管理  -->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/erp/asset/account/*.action')}">
                        <a href="javascript:;" lay-tips="资金账户审核管理">资金账户审核管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/newbiz/asset/account/balance/list')}">
                                <a th:lay-href="|${erpURL}/newbiz/asset/account/balance/list.action|">质保金审核</a>
                            </dd>
                        </dl>
                    </dd>

                    <!-- 质保金管理 -->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/erp/deposit/*.action')}">
                        <a href="javascript:;">质保金管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/newbiz/deposit/deductionDetail/view.action')}">
                                <a lay-tips="质保金扣款失败明细" th:lay-href="|${erpURL}/newbiz/deposit/deductionDetail/view.action|">质保金扣款失败明细</a>
                            </dd>
                        </dl>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/newbiz/orderfail/rechargedetail/list')}">
                                <a lay-tips="充值订单失败明细" th:lay-href="|${erpURL}/newbiz/orderfail/rechargedetail/list.action|">充值订单失败明细</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/identity/configuration/list.action')}">
                        <a th:lay-href="|${accountURL}/identity/configuration/list.action|">身份管理</a>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/account/configuration/list.action')}">
                        <a th:lay-href="|${accountURL}/account/configuration/list.action|">账户配置</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 通行证管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="mast-menu"
                th:if="${#authPermit.checkMenuPermits(false, '/pass/listPage.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-friends"></i>
                    <cite>通行证管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button">
                        <a th:lay-href="|${umsURL}/pass/listPage.action?initView=2|">通行证管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermit('/track/feedback/list.action')}">
            <dd data-name="mast-menu">
                <a th:lay-href="|${umsURL}/track/feedback/list.action|">
                    <i class="layui-icon layui-icon-reply-fill"></i>
                    <cite>建议反馈</cite>
                </a>
            </dd>
        </dl>

    </li>
</th:block>

</body>
</html>
